import { http } from '@/utils/http'
//退库登记和退库确认table列表接口
export const customerTable = (data) => {
  return http({
    url: `/api/raw-material/return-orders/todo?sort=createTime,desc`,
    method: 'get',
    data
  })
}
//退库查询查询table列表接口
export function searchlist(data) {
  return http({
    url: "/api/raw-material/return-orders?sort=createTime,desc",
    method: "get",
    data
  });
}

//退库流程中提交接口
export function materialReturnSumit(id,data) {
  return http({
    url: `/api/raw-material/return-orders/${id}/workflow/submit`,
    method: "post",
    data
  });
}